﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UrlGroup.aspx.cs" Inherits="UrlGroup" %>

<%@ Register Src="head.ascx" TagName="Head" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>消息用户列表</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
   
</head>
<body>
    <form id="form2" runat="server">
    <div><table width="100%" border="0">
  <tr>
    <td>&nbsp;<uc1:Head ID="Head2" runat="server" />
    </td>
  </tr>
  <tr>
    <td style="height: 485px" align="center" valign="top">
        <br />
        <br />
        URL组列表<br />
        <br />
        <asp:GridView ID="gdvList" runat="server" AutoGenerateColumns="False" OnRowEditing="gdvList_RowEditing" AllowPaging="True" OnPageIndexChanging="gdvList_PageIndexChanging">
            <Columns>
                <asp:BoundField DataField="UrlGroup" HeaderText="组名" />
                <asp:BoundField DataField="Comment" HeaderText="说明" />
                <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
            </Columns>
        </asp:GridView>
        <br />
        <table width="300" border="1" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2">URL组添加</td>
  </tr>
  <tr>
    <td align="LEFT">
        组名：</td>
    <td width="217" align="left"><asp:TextBox ID="txtUrlGroup" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入姓名" ControlToValidate="txtUrlGroup" BorderStyle="None" Display="None"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td  align="LEFT">
        说明:</td>
    <td align="LEFT" style="height: 32px"><asp:TextBox ID="txtComment" runat="server" TextMode="MultiLine"></asp:TextBox>&nbsp;
        </td>
  </tr>
  <tr>
    <td style="width: 58px">&nbsp;</td>
    <td>
    　　<% if (AddAndUpdateSign == 0)
         { %>
    　　<asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click" /><%}
        else
        {%><asp:Button ID="Button2" runat="server" Text="修改" OnClick="Button2_Click"/>
        <% } %>    
    </td>
  </tr>
</table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
            ShowSummary="False" />
        &nbsp;&nbsp;&nbsp;
        <asp:HiddenField ID="UrlGroupIdHidden" runat="server" />
    </td>
  </tr>
  
</table>
    
    </div>
    </form>
</body>
</html>
